package com.poizon.infrastructure.idem.config.change;

import com.poizon.infrastructure.idem.config.change.listener.IdemDbStoreConfigChangeStrategy;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;

@Slf4j
public class IdemConfigChangeStrategyAntoConfig {
    @Bean
    public IdemDbStoreConfigChangeStrategy lockConfigChangeStrategy() {
        log.info(">初始化幂等-配置变更监听策略");
        return new IdemDbStoreConfigChangeStrategy();
    }
}
